package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 应收应付往来客户
 * </p>
 *
 * @author stylefeng123
 * @since 2018-08-06
 */
@TableName("customerinfo")
public class Customerinfo extends Model<Customerinfo> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 往来客户编码
     */
    private String customercode;
    /**
     * 往来客户名称
     */
    private String customername;
    /**
     * 平台编号
     */
    private String platform;
    /**
     * 更新时间
     */
    private Date operatordt;
    /**
     * 操作人
     */
    private String operator;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustomercode() {
        return customercode;
    }

    public void setCustomercode(String customercode) {
        this.customercode = customercode;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Date getOperatordt() {
        return operatordt;
    }

    public void setOperatordt(Date operatordt) {
        this.operatordt = operatordt;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Customerinfo{" +
        "id=" + id +
        ", customercode=" + customercode +
        ", customername=" + customername +
        ", platform=" + platform +
        ", operatordt=" + operatordt +
        ", operator=" + operator +
        "}";
    }
}
